﻿@model MerchantApplyModel
@using Nop.Web.Framework;
@using Nop.Web.Framework.UI.Captcha;
@using Nop.Web.Models.Customer;
@{
    Layout = "~/Views/Shared/_ColumnsTwo.cshtml";

    //title
    Html.AddTitleParts(T("PageTitle.Register").Text);
}
    <script type="text/javascript">
    
    </script>
@using (Html.BeginForm())
{
     @Html.AntiForgeryToken();
    <div>
        <div class="message-error">
                @Html.ValidationSummary(true)
            </div>
       <div class="section-body">
                <table class="table-container">
                    <tr class="row">
                                <td class="item-name">
                                    <label>@T("MerchantApply.Fields.Name"):</label>
                                </td>
                                <td class="item-value">
                                     @Html.EditorFor(model => model.Name)
                                @Html.RequiredHint()
                                @Html.ValidationMessageFor(model => model.Name)
                                </td>
                     </tr>
                     <tr class="row">
                                 <td class="item-name">
                                    <label>@T("MerchantApply.Fields.Fzr"):</label>
                                </td>
                                <td class="item-value">
                                     @Html.EditorFor(model => model.Fzr)
                                </td>
                      </tr>
                      <tr class="row">
                                 <td class="item-name">
                                    <label>@T("MerchantApply.Fields.Phone"):</label>
                                </td>
                                <td class="item-value">
                                     @Html.EditorFor(model => model.Phone)
                                @Html.RequiredHint()
                                @Html.ValidationMessageFor(model => model.Phone)
                                </td>
                      </tr>
                      <tr class="row">
                                 <td class="item-name">
                                    <label>@T("MerchantApply.Fields.Code"):</label>
                                </td>
                                <td class="item-value">
                                     @Html.EditorFor(model => model.Code)
                                </td>
                       </tr>
                      
                        <tr class="row">
                                 <td class="item-name">
                                    <label>@T("MerchantApply.Fields.Address"):</label>
                                </td>
                                <td class="item-value">
                                     @Html.EditorFor(model => model.Address)
                                </td>

                                </tr>
                                 <tr class="row">
                                 <td class="item-name">
                                    <label>@T("MerchantApply.Fields.Remark"):</label>
                                </td>
                                <td class="item-value">
                                     @Html.EditorFor(model => model.Remark)
                                </td>
                        </tr>
                </table>
                </div>
                <div class="clear">
            </div>
            <div class="buttons">
                <input type="submit" class="registernextstepbutton" id="register-button" value="@T("MerchantApply.Fields.buttonApply")" name="register-button" />
            </div>
    </div>
}